import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

import './assets/css/color.scss'
import './assets/css/reset.css'
import './assets/css/common.scss'
import '@/icons' // icon
import '@/utils/filter'
import Print from '@/utils/print'
Vue.use(Print)

import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
Vue.use(ElementUI)

import Command from '@/utils/command'
Vue.use(Command)
import commonComponent from '@/components'
Vue.use(commonComponent)

Vue.config.productionTip = false

global.gApp = new Vue({
  router,
  store,
  render: (h) => h(App),
})

gApp.config = process.env
gApp.$mount('#app')
